package com.yingsheng.bi.hks.feign.client;

import com.yingsheng.bi.hks.basic.FeignConst;
import com.yingsheng.bi.hks.dto.servicedetail.*;
import com.yingsheng.bi.hks.dto.serviceinfo.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 服务信息地址路由
 */
@FeignClient(contextId = FeignConst.HKS_SERVICEINFO, name = FeignConst.SERVICE_NAME)
@Api(tags = "服务信息", value = "服务信息")
public interface ServiceInfoFeignClient {

    @ApiOperation(httpMethod = "POST", value = "服务信息新增")
    @RequestMapping(value = "/serviceInfoMgmt/serviceInfoAdd")
    ServiceInfoAddRes add(@RequestBody ServiceInfoAddReq req);

    @ApiOperation(httpMethod = "POST", value = "服务信息修改")
    @RequestMapping(value = "/serviceInfoMgmt/serviceInfoMod")
    ServiceInfoModRes mod(@RequestBody ServiceInfoModReq req);

    @ApiOperation(httpMethod = "POST", value = "服务信息查询")
    @RequestMapping(value = "/serviceInfoMgmt/serviceInfoQry")
    ServiceInfoQryRes qry(@RequestBody ServiceInfoQryReq req);

    @ApiOperation(httpMethod = "POST", value = "服务信息删除")
    @RequestMapping(value = "/serviceInfoMgmt/serviceInfoDel")
    ServiceInfoDelRes del(@RequestBody ServiceInfoDelReq req);

    @ApiOperation(httpMethod = "POST", value = "服务详情信息新增")
    @RequestMapping(value = "/serviceDetailMgmt/serviceDetailAdd")
    ServiceDetailAddRes add(@RequestBody ServiceDetailAddReq req);

    @ApiOperation(httpMethod = "POST", value = "服务详情信息修改")
    @RequestMapping(value = "/serviceDetailMgmt/serviceDetailMod")
    ServiceDetailModRes mod(@RequestBody ServiceDetailModReq req);

    @ApiOperation(httpMethod = "POST", value = "服务详情信息查询")
    @RequestMapping(value = "/serviceDetailMgmt/serviceDetailQry")
    ServiceDetailQryRes qry(@RequestBody ServiceDetailQryReq req);

    @ApiOperation(httpMethod = "POST", value = "服务详情信息删除")
    @RequestMapping(value = "/serviceDetailMgmt/serviceDetailDel")
    ServiceDetailDelRes del(@RequestBody ServiceDetailDelReq req);

    @ApiOperation(httpMethod = "POST", value = "我的服务订单查询")
    @RequestMapping(value = "/serverOrder/serverOrderListQry")
    ServerOrderListQryRes serverOrderListQry(@RequestBody ServerOrderListQryReq req);

    @ApiOperation(httpMethod = "POST", value = "我的服务订单详情查询")
    @RequestMapping(value = "/serverOrder/serverOrderDetailQry")
    ServerOrderDetailQryRes serverOrderDetailQry(@RequestBody ServerOrderDetailQryReq req);
}
